package com.xuexizu.entity;

import java.util.Date;

public class NewsEntity {
	private int id;
	private String newsTime;
	private String newsContent;
	private String newsTitle;
	private int newsClssId;
	private int showHome;
	private String className;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNewsTime() {
		return newsTime;
	}
	public void setNewsTime(String newsTime) {
		this.newsTime = newsTime;
	}
	public String getNewsTitle() {
		return newsTitle;
	}
	public void setNewsTitlle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public int getNewsClssId() {
		return newsClssId;
	}
	public void setNewsClssId(int newsClssId) {
		this.newsClssId = newsClssId;
	}
	public int getShowHome() {
		return showHome;
	}
	public void setShowHome(int showHome) {
		this.showHome = showHome;
	}
	
	
	public String getClassName() {
		return className;
	}
	public void setClassName(String className) {
		this.className = className;
	}
	
	public NewsEntity(int id, String newsTime, String newsContent, String newsTitle, int newsClssId, int showHome,
			String className) {
		super();
		this.id = id;
		this.newsTime = newsTime;
		this.newsContent = newsContent;
		this.newsTitle = newsTitle;
		this.newsClssId = newsClssId;
		this.showHome = showHome;
		this.className = className;
	}
	public void setNewsTitle(String newsTitle) {
		this.newsTitle = newsTitle;
	}
	public String getNewsContent() {
		return newsContent;
	}
	public void setNewsContent(String newsContent) {
		this.newsContent = newsContent;
	}
	public NewsEntity() {
		super();
	}
	
	public NewsEntity(int id, String newsTime, String newsContent, String newsTitle, int newsClssId, int showHome) {
		super();
		this.id = id;
		this.newsTime = newsTime;
		this.newsContent = newsContent;
		this.newsTitle = newsTitle;
		this.newsClssId = newsClssId;
		this.showHome = showHome;
	}
	@Override
	public String toString() {
		return "NewsEntity [id=" + id + ", newsTime=" + newsTime + ", newsContent=" + newsContent + ", newsTitle="
				+ newsTitle + ", newsClssId=" + newsClssId + ", showHome=" + showHome + "]";
	}
	
	
	
}
